package com.sense.kukoo.common.constant

import com.sense.kukoo.common.repo.kv.KukooKeyValueManager
import com.sense.kukoo.common.repo.kv.user.UserImpl
import com.sense.kukoo.common.utils.AppConfig

/**
 * <br> ClassName:   ConstantConfig.kt
 * <br> Description: 传参Key常量
 * <br> Author:      lionszhang
 * <br> Date:        2021/11/9
 */
object ConstantConfig {

    /** 参数1 */
    const val ARG1 = "arg1"

    /** 参数2 */
    const val ARG2 = "arg2"

    /** 参数3 */
    const val ARG3 = "arg3"

    /** 参数4 */
    const val ARG4 = "arg4"

    val URL :HttpUrlConfig by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
        return@lazy if(AppConfig.isReleaseKey()) {
            ReleaseHttpUrlConfig
        } else {
            DebugHttpUrlConfig
        }
    }

    const val STATE_SUCCESS = 0
    const val STATE_NOT_LOGIN = 1
    const val STATE_EMPTY_LIST = 2
    const val STATE_NETWORK_ERROR = 3




}